package com.shoes.utils;

/**
 * @author asen
 */
public final class ResultCode {
    public static final int GLOBAL_SUCCESSFUL = 1000;
    public static final int GLOBAL_FAILED = 1001;
    public static final int PARAMETER_ERROR = 1002;
    public static final int GLOBAL_RESULT_EMPTY = 1003;

    /********************  请求返回状态码************************/
    //用户模块
    public static final int USER_PASSWORD_ERROR = 100;
    public static final int USER_ACCOUNT_NOT_EXIST = 101;
    public static final int USER_LOGIN_PSW_ERROR = 102;
    public static final int USER_NOT_LOGIN = 103;
    public static final int USER_TOKEN_ERROR = 104;
    public static final int SIGNATURE_CHECK_ERROR = 105;
    public static final int USER_PASSWORD_CHECK_FAILED = 106;
    public static final int USER_ALREADY_EXISTS = 107;

    public static final int AUTH_CODE_ERROR = 110;
    public static final int AUTH_CODE_EXPIRE = 111;

    public static final int COUPON_EMPTY = 115;
    public static final int COUPON_NOT_EXIST = 116;

}
